<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>转盘</title>
    <link rel="stylesheet" href="__CDN__/assets/turntable/css/common_mobile.css?version=1.0.0">
    <link rel="stylesheet" href="__CDN__/assets/css/turntable/index.css?version=1.0.1">
    <!-- 移动端适配 -->
    <script>
        var html = document.querySelector('html');
        changeRem();
        window.addEventListener('resize', changeRem);

        function changeRem() {
            var width = html.getBoundingClientRect().width;
            html.style.fontSize = width / 10 + 'px';
        }
    </script>




    <style type="text/css">
        
        .winning .red-body {
          position: relative;
          top: -2.13333333rem;
          z-index: 2;
          width: 100%;
          height: 4.8rem;
          background-image: url("../../../../../../../assets/turntable/image/redPack/bottomprize.png");
        }

        .prizename{
            position: absolute;
            left: 50%;
            bottom: 22%;
            z-index: 3;
            width: 4.85333333rem;
            height: 0.96666667rem;
            margin-left: -2.42666667rem;
            text-align: center;
            font-size: 17px;
            color: #fff700b5;
        }


        #mse{
            height: 100% !important;
        }


    </style>




</head>

<body>
<div id="wrap">
    <div class="caidai"></div>
    <div class="header clearfix">
<!--         <p class="rule fl">规则</p>
        <a href="../my.html" id="myWin">
            <p class="my fr">我的奖品</p>
        </a> -->
        <div class="title"></div>
    </div>
    <!--轮盘-->
    <div class="rotate">
        <div class="lunpai">
            <ul class="prize running">


                    {foreach $prizedata as $v}
                        <li class="prizedata" data-id="{$v['id']}" data-title="{$v['title']}" data-rate="{$v['rate']}" style="background-image: url({$v['image']})">
                            <span></span>
                            <p>{$v['title']}</p>
                        </li>
                    {/foreach}








            </ul>
        </div>
        <div class="ring"></div>
        <div class="parameter"  data-row_id="{$row['id']}" data-access_token="{$access_token}" data-open_id="{$open_id}" data-aivideo_id="{$video['id']}" data-redirect_url="{$redirect_url}" id="btn"></div>
    </div>
    <div class="border">
        <!-- 您今日还有 <span id="change"> 1 </span> 次抽奖机会 -->
		参与抽奖会为您发布一条作品
    </div>
    <!--滚动信息-->
<!--     <div class="scroll">
        <p></p>
        <div>
            <ul>
                <li>
                    恭喜<span class="start-num">134</span>****<span class="end-num">0481</span>
                    获得<span class="info">奖品1</span>一份
                </li>
                <li>
                    恭喜<span class="start-num">132</span>****<span class="end-num">3145</span>
                    获得<span class="info">奖品2</span>一份
                </li>
                <li>
                    恭喜<span class="start-num">150</span>****<span class="end-num">0150</span>
                    获得<span class="info">奖品3</span>一份
                </li>
            </ul>
        </div>
		
    </div> -->
	
    <!--游戏规则弹窗-->
    <div id="mask-rule">
        <div class="box-rule">
            <span class="star"></span>
            <h2>活动规则说明</h2>
            <span id="close-rule"></span>
            <div class="con">
                <div class="text">
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                    <p>活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明活动规则说明</p>
                </div>
            </div>
        </div>
    </div>
    <!--中奖提示-->
    <div id="mask">
        <div class="blin"></div>
        <div class="caidai"></div>
        <div class="winning">
            <div class="red-head"></div>
            <div class="red-body"></div>
            <div style="position: absolute;left: 50%;top: -50%;z-index: 1;margin-left: -3.2rem;margin-top: -1.06666667rem;width: 80%;height: 4.26666667rem;">
                <!--西瓜播放器-->
                <div style="background-color: black" id="mse"></div>

            </div>


            <p class="prizename">恭喜你获得奖品 <span id="getprizename"></span></p>

            <a href="{$redirect_url}" target="_self" class="btn"></a>
            <span id="close"></span>
        </div>
    </div>
</div>
<p style="color: #FFF;text-align: center;margin: 10px;"> 本活动由{商户名称}为您提供.非抖音官方活动</p>
<script src="https://cdn.bootcss.com/jquery/3.3.1/jquery.min.js"></script>
<script src="__CDN__/assets/turntable/js/jquery.rotate.js"></script>
<script src="__CDN__/assets/turntable/js/h5_game_common.js?version=1.0.0"></script>
<script src="__CDN__/assets/libs/turntable/index.js?version=2.2.0"></script>



    <!--西瓜播放器-->
    <script src="//cdn.jsdelivr.net/npm/xgplayer@1.1.4/browser/index.js" charset="utf-8"></script>
    <script>
        let player = new Player({
            "id": "mse",
            "url": "{$video.video}",
            "playsinline": true,
            "whitelist": [
                ""
            ],
            "autoplay": true,
            "fluid": true,
            "download": true
        });

    </script>


</body>
</html>








